package o2o.dao.TO.sync;

import o2o.cache.order.OrderStatusNameMemory;

/**
 * Created with IntelliJ IDEA.
 *
 * @User: @Created by yangtk
 * @Date: @Date 2019/8/26 15:05
 * @desc: @ 返回订单状态
 * @Classname: OrderStatusTO
 * @To change this template use File | Settings | File Templates.
 */

public class OrderStatusTO {

    private String orderNo;
    private Integer orderStatus;
    private String orderStatusName;

    public String getOrderNo() {
        return orderNo;
    }

    public OrderStatusTO setOrderNo(String orderNo) {
        this.orderNo = orderNo;
        return this;
    }

    public OrderStatusTO setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
        return this;
    }

    public String getOrderStatusName() {
        return OrderStatusNameMemory.getInstance().getStatusName(this.orderStatus);
    }

    public OrderStatusTO setOrderStatusName(String orderStatusName) {
        this.orderStatusName = orderStatusName;
        return this;
    }
}
